package com.lixin.demo.service;

public interface ProductService {

    public float getTotalPrice(Long id, int num);

    public int reduceStock(Long id, int stock);

}
